﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Menu.aspx.cs" Inherits="sysadmin_Menu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>系统管理员菜单</title>
    <link href="../css/1/css/css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        
        //查找菜单窗体
        function findFrameLeft(win)
        {
            var frmname;
            frmname=win.name;
            if (frmname!="fraLeftMenu")
            {
                if(win.frames.length>0)
                {
                   for (i=0;i<win.frames.length;i++)
                   {
                       if(win.frames[i]!=null)
                       {
                          if(win.frames[i].name=="fraLeftMenu")
                          {
                             win=win.frames[i];
                             return win;
                          }
                          else
                          {
                             if (win.frames[i].frames.length>0)
                                 return findFrameLeft(win.frames[i]);  
                          }
                       }
                   }
                }
            }
            else
            {
               return win;           
            }
        }
        //查找主窗体
        function findFrameMain(win)
        {
            var frmname;
            frmname=win.name;
            if (frmname!="fraMain")
            {
                if(win.frames.length>0)
                {
                   for (i=0;i<win.frames.length;i++)
                   {
                       if(win.frames[i]!=null)
                       {
                          if(win.frames[i].name=="fraMain")
                          {
                             win=win.frames[i];
                             return win;
                          }
                          else
                          {
                             if (win.frames[i].frames.length>0)
                                 return findFrameMain(win.frames[i]);  
                          }
                       }
                   }
                }
            }
            else
            {
               return win;           
            }
        }
        
        function GoToURl(v)
        {
            var vObjleft=findFrameLeft(window.parent);
            var vObjmain=findFrameMain(window.parent);
            if(v=="default")                    //后台首页
            {
                vObjleft.location = "Left.aspx?MenuName=default";
                vObjmain.location = "DL/Project/MyMsg.aspx";
                li_default.className="sel";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
               
            }else if(v == "role")               //角色管理
            {
                vObjleft.location = "Left.aspx?MenuName=role";
                vObjmain.location = "RoleManager/ManagerRole.aspx";
                li_default.className="";
               // li_role.className="sel";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
          }
            else if(v == "user")                //用户管理
            {
                vObjleft.location = "Left.aspx?MenuName=user";
                vObjmain.location = "DL/Project/ManageLearner.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="sel";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "vir")                 //虚拟目录管理
            {
                vObjleft.location = "Left.aspx?MenuName=vir";
                vObjmain.location = "VirtualManager/VirtualManager.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="sel";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "course")             //课程管理
            {
                vObjleft.location = "Left.aspx?MenuName=course";
                vObjmain.location = "CourseManager/Course.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="sel";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "project")             //方案管理
            {
                vObjleft.location = "Left.aspx?MenuName=project";
                vObjmain.location = "DL/Project/ManageClass.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="sel";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "question")            //题库管理
            {
                vObjleft.location = "Left.aspx?MenuName=question";
                vObjmain.location = "QuestionManager/ManagerQuestionInfo.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="sel";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "questionresearch")            //问卷调查题库管理
            {
                vObjleft.location = "Left.aspx?MenuName=questionresearch";
                vObjmain.location = "PaperResearchManager/ManagerQuestionInfo.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="sel";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "questionmanager")    //阅卷管理
            {
                vObjleft.location = "Left.aspx?MenuName=questionmanager";
                vObjmain.location = "PaperManager/TestPaperUserList.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="sel";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
 
            }else if(v == "channel")
            {
                vObjleft.location = "Left.aspx?MenuName=channel";
                vObjmain.location = "Chnenel/Channel.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="sel";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "cms")
            {   //新闻中心
               /* vObjleft.location = "Left.aspx?MenuName=cms";
                vObjmain.location = "NewManager/ManagerNew.aspx";
                li_default.className="";
                li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="sel";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className=""; */
                
                vObjleft.location = "Left.aspx?MenuName=cms";
                vObjmain.location = "NewManager/ManagerNew.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
               // li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="sel";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
                
            }
            else if(v == "down")
            {
                 //软件下载
                vObjleft.location = "Left.aspx?MenuName=down";
                vObjmain.location = "DownManager/ManagerDownload.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="sel";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "bbs")
            {
                 //论坛管理
                vObjleft.location = "Left.aspx?MenuName=bbs";
                vObjmain.location = "BBSManager/ManagerTitleInfo.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
               // li_bbs.className="sel";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
            else if(v == "count")
            {
                 //统计查询
                vObjleft.location = "Left.aspx?MenuName=count";
                vObjmain.location = "CountManager/Courseware.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
               // li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
              //  li_bbs.className="";
                //li_count.className="sel";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }
//             else if(v == "grade")
//            {
//                 //评估管理 
//                vObjleft.location = "Left.aspx?MenuName=grade";
//                vObjmain.location = "GradeManager/ManagerSkillType.aspx";
//                li_default.className="";
//                //li_role.className="";
//                li_user.className="";
//                //li_vir.className="";
//                li_course.className="";
//                li_project.className="";
//                li_question.className="";
//                //li_questionmanager.className="";
//                //li_channel.className="";
//                li_cms.className="";
//                li_down.className="";
//                //li_bbs.className="";
//                //li_count.className="";
//                li_sys.className="";
//                //li_questionresearch.className="";
////                li_mavin.className="";
////                li_netmeeting.className="";
//                //li_grade.className="sel";
            //} 
             else if(v == "mavin")
            {
                 //评估管理 
                vObjleft.location = "Left.aspx?MenuName=mavin";
                vObjmain.location = "mavinManager/mavinManager.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
                //li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
                //li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="";
//                li_mavin.className="sel";
//                li_netmeeting.className="";
                //li_grade.className="";
            } 
            
              else if(v == "net")
            {
                 //视频会议
                vObjleft.location = "Left.aspx?MenuName=net";
                vObjmain.location = "NetMeetingManager/ManagerMeeting.aspx";
                li_default.className="";
               //li_role.className="";
                li_user.className="";
               // li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
              //  li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                //li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="sel";
                //li_grade.className="";
            }   
             else if(v == "sys")
            {
                 //系统设置| 在线答疑 
                vObjleft.location = "Left.aspx?MenuName=sys";
                vObjmain.location = "VirtualManager/VirtualManager.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
               // li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
              //  li_bbs.className="";
                //li_count.className="";
                li_sys.className="sel";
                li_questionresearch.className="";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }   
             else if(v == "questionresearch")
            {
                 //系统设置| 在线答疑 
                vObjleft.location = "Left.aspx?MenuName=sys";
                vObjmain.location = "VirtualManager/VirtualManager.aspx";
                li_default.className="";
                //li_role.className="";
                li_user.className="";
               // li_vir.className="";
                li_course.className="";
                li_project.className="";
                li_question.className="";
                //li_questionmanager.className="";
                //li_channel.className="";
                li_cms.className="";
                li_down.className="";
              //  li_bbs.className="";
                //li_count.className="";
                li_sys.className="";
                li_questionresearch.className="sel";
//                li_mavin.className="";
//                li_netmeeting.className="";
                //li_grade.className="";
            }    
        }
    </script>

</head>
<body class="logotop">
    <form id="form1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td style="height: 45px;" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <img src="../images/logo/logo1.jpg" />
                        </td>
                        <td valign="top">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td nowrap="nowrap" style="height: 16px; padding-right: 20px; padding-top: 3px;"
                                        align="right">
                                        <asp:LinkButton ID="btn_web" runat="server" Text="前台" OnClick="btn_web_Click"></asp:LinkButton>
                                        |
                                        <asp:LinkButton ID="btn_out" runat="server" Text="注销1" OnClick="btn_out_Click"></asp:LinkButton><%--|--%>
                                        <%--<a href="http://www.powercreator.com.cn" target="_blank">
                                            <%=GetLanageValueByKey("Help", PowerCreator.LMS.Language.LanagetItemType.WebTitle)%>
                                        </a>--%>
                                        <%--<asp:LinkButton ID="lnkbtnCn" runat="server" OnClick="lnkbtnCn_Click" Text="中文" Visible="False"></asp:LinkButton>>>
                                        <asp:LinkButton ID="lnkbtnEn" runat="server" OnClick="lnkbtnEn_Click" Text="English"
                                            Visible="False"></asp:LinkButton>
                                        <asp:Label ID="lbl_BanBen" runat="server" Text="" Visible="false"></asp:Label>--%>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td valign="bottom">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table">
                    <tr>
                        <td valign="bottom" style="height: 30px; background: url(../css/1/images/3px_bgx.png);
                            background-repeat: repeat-x; line-height: 30px; background-position-y: bottom;">
                            <div id="nav">
                                <ul style="text-align: center; padding-left: 185px; padding-right: 10px;">
                                    <li id="li_default"><a title='<%=GetLanageValueByKey("ColumnUserInfomation",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('default')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnUserInfomation", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <!-- 权限管理 -->
                                    <li id="li_role"><a title='<%=GetLanageValueByKey("ColumnActionManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('role')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnActionManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <li id="li_user"><a title='<%=GetLanageValueByKey("ColumnUserManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('user')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnUserManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <!--li id="li_vir"><a title="虚拟目录管理" style="cursor: hand;" href="#" onclick="GoToURl('vir')">
                                            虚拟目录管理</a></li -->
                                    <li id="li_course"><a title='<%=GetLanageValueByKey("ColumnCourseManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('course')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnCourseManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <li id="li_project"><a title='<%=GetLanageValueByKey("ColumnProjectManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('project')">
                                        培训管理</a></li>
                                    <%--<li id="li_Task"><a title='训练任务管理' style="cursor: hand;" href="#" onclick="GoToURl('task')">
                                           训练任务管理</a></li>--%>
                                    <li id="li_question"><a title='<%=GetLanageValueByKey("ColumnQuestionManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('question')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnQuestionManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <%--  <li id="li_questionmanager"><a title="阅卷管理" style="cursor: hand;" href="#" onclick="GoToURl('questionmanager')">
                                                阅卷管理</a></li>--%>
                                    <%--
                            <li id="li_msg"><a title="#" style="cursor: hand;" href="#" onclick="GoToURl('msg')">消息通知管理</a></li>
--%>
                                    <li id="li_cms"><a title='<%=GetLanageValueByKey("ColumnCmsManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('cms')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnCmsManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <!--li id="li_bbs"><a title="论坛管理" style="cursor: hand;" href="#" onclick="GoToURl('bbs')">
                                            论坛管理</a></li -->
                                    <li id="li_down"><a title='<%=GetLanageValueByKey("ColumnDownloadManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('down')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnDownloadManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                    <%-- <li id="li_count"><a title="统计查询" style="cursor: hand;" href="#" onclick="GoToURl('count')">
                                            统计查询</a></li>--%>
                                    <%--<li id="li_grade"><a title='<%=GetLanageValueByKey("SysGradeManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('grade')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("SysGradeManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>--%>
                                    <%--        <li id="li_mavin"><a title='<%=GetLanageValueByKey("SysMavinManager",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>' style="cursor: hand;" href="#" onclick="GoToURl('mavin')">
                                            <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("SysMavinManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                        </a></li>  --%>
                                    <%--<li id="li_netmeeting"><a title="视频会议" style="cursor: hand;" href="#" onclick="GoToURl('net')">
                                            视频会议
                                        </a></li>--%>
                                    <li id="li_sys"><a title='<%=GetLanageValueByKey("ColumnSysConfig",PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn) %>'
                                        style="cursor: hand;" href="#" onclick="GoToURl('sys')">
                                        <%=PowerCreator.LMS.Common.Utils.StringUtils.CutTitle(GetLanageValueByKey("ColumnSysConfig", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn), 8)%>
                                    </a></li>
                                      <li id="li_questionresearch"><a title="问卷调查" style="cursor: hand;" href="#" onclick="GoToURl('questionresearch')">
                                        <%=GetLanageValueByKey("ColumnPaperResearchManager", PowerCreator.LMS.Language.LanagetItemType.MenuItemColumn)%></a></li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                    <tr>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
